﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations; 

namespace AdminCondominio.Dominio
{
    public class AreaComun
    {
        public int CoAreaComun { get; set; }
        [Required(ErrorMessage = "Ingrese el Número de personas")]
        public int NuPersonas { get; set; }
        [Required(ErrorMessage = "Ingrese el Area")]
        public decimal Area { get; set; }
        [Required(ErrorMessage = "Ingrese el Tipo de Area ")]
        public TipoAreaComun TipoAreaComun { get; set; }
        [Required(ErrorMessage = "Ingrese la Ubicación")]
        public string Ubicacion { get; set; }
        public string Estado { get; set; }
    }
}